﻿<%@ Page Title="" Language="C#" MasterPageFile="~/MasterPage/Master.Master" AutoEventWireup="true"
    CodeBehind="wFrmCreditoClienteGarantiaActualizar.aspx.cs" Inherits="Crosland.Automotriz.Web.Vehiculos.wFrmCreditoClienteGarantiaActualizar" %>

<%@ Register Assembly="DevExpress.Web.v13.1, Version=13.1.4.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a"
    Namespace="DevExpress.Web.ASPxPanel" TagPrefix="dx" %>

<%@ Register Assembly="DevExpress.Web.v13.1, Version=13.1.4.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a"
    Namespace="DevExpress.Web.ASPxPopupControl" TagPrefix="dx" %>

<%@ Register Assembly="DevExpress.Web.v13.1, Version=13.1.4.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a"
    Namespace="DevExpress.Web.ASPxTabControl" TagPrefix="dx" %>
<%@ Register Assembly="DevExpress.Web.v13.1, Version=13.1.4.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a"
    Namespace="DevExpress.Web.ASPxEditors" TagPrefix="dx" %>
<%@ Register Assembly="DevExpress.Web.v13.1, Version=13.1.4.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a"
    Namespace="DevExpress.Web.ASPxClasses" TagPrefix="dx" %>
<%@ Register Assembly="DevExpress.Web.v13.1, Version=13.1.4.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a"
    Namespace="DevExpress.Web.ASPxGridView" TagPrefix="dx" %>
<asp:Content ID="Content1" ContentPlaceHolderID="cphMain" runat="server">
    <div class="main-header" style="width: 100%;">
        <div class="main-titulo" style="text-align: left">
        </div>
    </div>
    <div class="main-content">
        <div>
            <table>
                <tr>
                    <td class="filas">
                        <dx:ASPxButton ID="btnGrabar" runat="server" Text="Grabar" CssFilePath="~/App_Themes/Office2010Blue/{0}/styles.css"
                            CssPostfix="Office2010Blue" SpriteCssFilePath="~/App_Themes/Office2010Blue/{0}/sprite.css"
                            Width="100px" onclick="btnGrabar_Click">
                            <Paddings Padding="5px" />
                        </dx:ASPxButton>
                    </td>
                    <td class="filas">
                        <dx:ASPxButton ID="btnSalir" runat="server" Text="Salir" CssFilePath="~/App_Themes/Office2010Blue/{0}/styles.css"
                            CssPostfix="Office2010Blue" SpriteCssFilePath="~/App_Themes/Office2010Blue/{0}/sprite.css"
                            Width="100px" onclick="btnSalir_Click">
                            <Paddings Padding="5px" />
                        </dx:ASPxButton>
                    </td>
                </tr>
            </table>
        </div>
        <dx:ASPxPageControl ID="ASPxPageControl1" runat="server" ActiveTabIndex="0" CssFilePath="~/App_Themes/Office2010Blue/{0}/styles.css"
            CssPostfix="Office2010Blue" SpriteCssFilePath="~/App_Themes/Office2010Blue/{0}/sprite.css"
            TabSpacing="0px" Width="100%">
            <TabPages>
                <dx:TabPage Text="Datos Cliente">
                    <ContentCollection>
                        <dx:ContentControl runat="server" SupportsDisabledAttribute="True">
                            <table>
                                <tr>
                                    <td class="filas">
                                        <asp:Label ID="Label17" runat="server" Text="Codigo:"></asp:Label>
                                    </td>
                                    <td>
                                        <dx:ASPxTextBox ID="txtCodigo" runat="server" 
                                            CssFilePath="~/App_Themes/Office2010Blue/{0}/styles.css" 
                                            CssPostfix="Office2010Blue" Height="20px" 
                                            SpriteCssFilePath="~/App_Themes/Office2010Blue/{0}/sprite.css" 
                                            Width="200px">
                                            <Paddings Padding="5px" />
                                        </dx:ASPxTextBox>
                                    </td>
                                    <td>
                                        <dx:ASPxButton ID="btnBuscarCliente" runat="server" AutoPostBack="False" 
                                            CssFilePath="~/App_Themes/Office2010Blue/{0}/styles.css" 
                                            CssPostfix="Office2010Blue" 
                                            SpriteCssFilePath="~/App_Themes/Office2010Blue/{0}/sprite.css" Text="..." 
                                            Width="50px">
                                            <ClientSideEvents Click="function(s, e) {
	pcClientes.Show();
}" />
                                        </dx:ASPxButton>
                                    </td>
                                    <td>
                                    
                                        <dx:ASPxButton ID="btnConsultar" runat="server" Text="Consultar" 
                                            CssFilePath="~/App_Themes/Office2010Blue/{0}/styles.css" 
                                            CssPostfix="Office2010Blue" OnClick="btnConsultar_Click" 
                                            SpriteCssFilePath="~/App_Themes/Office2010Blue/{0}/sprite.css">
                                        </dx:ASPxButton>
                                    
                                    </td>
                                </tr>
                                <tr>
                                    <td class="filas">
                                        <asp:Label ID="Label1" runat="server" Text="Cliente:"></asp:Label>
                                    </td>
                                    <td>
                                        <dx:ASPxTextBox ID="txtCliente" runat="server" Enabled="False" Width="300px" 
                                            CssFilePath="~/App_Themes/Office2010Blue/{0}/styles.css" 
                                            CssPostfix="Office2010Blue" 
                                            SpriteCssFilePath="~/App_Themes/Office2010Blue/{0}/sprite.css">
                                            <Paddings Padding="5px" />
                                        </dx:ASPxTextBox>
                                    </td>
                                    <td>
                                        <asp:Label ID="lblId_Cliente" runat="server" 
                                            Visible="False" Width="50px"></asp:Label>
                                    </td>
                                </tr>
                                <tr>
                                    <td class="filas">
                                        Dirección
                                    </td>
                                    <td>
                                        <dx:ASPxTextBox ID="txtdireccion" Enabled="False" runat="server" Width="300px" 
                                            CssFilePath="~/App_Themes/Office2010Blue/{0}/styles.css" 
                                            CssPostfix="Office2010Blue" 
                                            SpriteCssFilePath="~/App_Themes/Office2010Blue/{0}/sprite.css">
                                            <Paddings Padding="5px" />
                                        </dx:ASPxTextBox>
                                    </td>
                                    <td>
                                        &nbsp;
                                    </td>
                                </tr>
                                <tr>
                                    <td class="filas">
                                        Departamento:
                                    </td>
                                    <td>
                                        <dx:ASPxTextBox ID="txtdepartamento" Enabled="False" runat="server" 
                                            Width="300px" CssFilePath="~/App_Themes/Office2010Blue/{0}/styles.css" 
                                            CssPostfix="Office2010Blue" 
                                            SpriteCssFilePath="~/App_Themes/Office2010Blue/{0}/sprite.css">
                                            <Paddings Padding="5px" />
                                        </dx:ASPxTextBox>
                                    </td>
                                    <td>
                                        &nbsp;
                                    </td>
                                </tr>
                                <tr>
                                    <td class="filas">
                                        Provincia</td>
                                    <td>
                                        <dx:ASPxTextBox ID="txtprovincia" Enabled="False" runat="server" Width="300px" 
                                            CssFilePath="~/App_Themes/Office2010Blue/{0}/styles.css" 
                                            CssPostfix="Office2010Blue" 
                                            SpriteCssFilePath="~/App_Themes/Office2010Blue/{0}/sprite.css">
                                            <Paddings Padding="5px" />
                                        </dx:ASPxTextBox>
                                    </td>
                                    <td>
                                        &nbsp;</td>
                                </tr>
                                <tr>
                                    <td class="filas">
                                        Distrito :
                                    </td>
                                    <td>
                                        <dx:ASPxTextBox ID="txtdistrito" Enabled="False" runat="server" Width="300px" 
                                            CssFilePath="~/App_Themes/Office2010Blue/{0}/styles.css" 
                                            CssPostfix="Office2010Blue" 
                                            SpriteCssFilePath="~/App_Themes/Office2010Blue/{0}/sprite.css">
                                            <Paddings Padding="5px" />
                                        </dx:ASPxTextBox>
                                    </td>
                                    <td>
                                        &nbsp;
                                    </td>
                                </tr>
                            </table>
                        </dx:ContentControl>
                    </ContentCollection>
                </dx:TabPage>
                <dx:TabPage Text="Datos Credito">
                    <ContentCollection>
                        <dx:ContentControl runat="server" SupportsDisabledAttribute="True">
                            <table>
                                <tr>
                                    <td class="filas">
                                        Tipo credito:
                                    </td>
                                    <td class="filas">
                                        <dx:ASPxComboBox ID="cboTipoCredito" runat="server" CssFilePath="~/App_Themes/Office2010Blue/{0}/styles.css"
                                            CssPostfix="Office2010Blue" Spacing="0" SpriteCssFilePath="~/App_Themes/Office2010Blue/{0}/sprite.css"
                                            Width="200px">
                                            <LoadingPanelImage Url="~/App_Themes/Office2010Blue/Editors/Loading.gif">
                                            </LoadingPanelImage>
                                            <LoadingPanelStyle ImageSpacing="5px">
                                            </LoadingPanelStyle>
                                            <Paddings Padding="5px" />
                                        </dx:ASPxComboBox>
                                    </td>
                                </tr>
                                <tr>
                                    <td class="filas">
                                        Importe autorizado (S/.):
                                    </td>
                                    <td class="filas">
                                        <dx:ASPxTextBox ID="txtImpAutorizadoSoles" runat="server" CssFilePath="~/App_Themes/Office2010Blue/{0}/styles.css"
                                            CssPostfix="Office2010Blue" SpriteCssFilePath="~/App_Themes/Office2010Blue/{0}/sprite.css"
                                            Width="200px">
                                            <Paddings Padding="5px" />
                                        </dx:ASPxTextBox>
                                    </td>
                                </tr>
                                <tr>
                                    <td class="filas">
                                        Importe autorizado ($ ):
                                    </td>
                                    <td class="filas">
                                        <dx:ASPxTextBox ID="txtImpAutorizadoDolar" runat="server" CssFilePath="~/App_Themes/Office2010Blue/{0}/styles.css"
                                            CssPostfix="Office2010Blue" SpriteCssFilePath="~/App_Themes/Office2010Blue/{0}/sprite.css"
                                            Width="200px">
                                            <Paddings Padding="5px" />
                                        </dx:ASPxTextBox>
                                    </td>
                                </tr>
                                <tr>
                                    <td class="filas">
                                        Nro.Unidad 2R:
                                    </td>
                                    <td class="filas">
                                        <dx:ASPxTextBox ID="txtNroUnidad2r" runat="server" CssFilePath="~/App_Themes/Office2010Blue/{0}/styles.css"
                                            CssPostfix="Office2010Blue" SpriteCssFilePath="~/App_Themes/Office2010Blue/{0}/sprite.css"
                                            Width="200px">
                                            <Paddings Padding="5px" />
                                        </dx:ASPxTextBox>
                                    </td>
                                </tr>
                                <tr>
                                    <td class="filas">
                                        Nro.Unidad 3R:
                                    </td>
                                    <td class="filas">
                                        <dx:ASPxTextBox ID="txtNroUnidad3r" runat="server" CssFilePath="~/App_Themes/Office2010Blue/{0}/styles.css"
                                            CssPostfix="Office2010Blue" SpriteCssFilePath="~/App_Themes/Office2010Blue/{0}/sprite.css"
                                            Width="200px">
                                            <Paddings Padding="5px" />
                                        </dx:ASPxTextBox>
                                    </td>
                                </tr>
                                <tr>
                                    <td class="filas">
                                        Nro.Dias crédito:
                                    </td>
                                    <td class="filas">
                                        <dx:ASPxTextBox ID="txtnroDiasCredito" runat="server" CssFilePath="~/App_Themes/Office2010Blue/{0}/styles.css"
                                            CssPostfix="Office2010Blue" SpriteCssFilePath="~/App_Themes/Office2010Blue/{0}/sprite.css"
                                            Width="200px">
                                            <Paddings Padding="5px" />
                                        </dx:ASPxTextBox>
                                    </td>
                                </tr>
                                <tr>
                                    <td class="filas">
                                        Fecha vencimiento:
                                    </td>
                                    <td class="filas">
                                        <dx:ASPxDateEdit ID="txtFechaVencimiento" runat="server" CssFilePath="~/App_Themes/Office2010Blue/{0}/styles.css"
                                            CssPostfix="Office2010Blue" Spacing="0" SpriteCssFilePath="~/App_Themes/Office2010Blue/{0}/sprite.css"
                                            Width="200px">
                                            <CalendarProperties>
                                                <HeaderStyle Spacing="1px" />
                                            </CalendarProperties>
                                            <Paddings Padding="5px" />
                                        </dx:ASPxDateEdit>
                                    </td>
                                </tr>
                                <tr>
                                    <td class="filas">
                                        Banco:
                                    </td>
                                    <td class="filas">
                                        <dx:ASPxComboBox ID="cboBanco" runat="server" CssFilePath="~/App_Themes/Office2010Blue/{0}/styles.css"
                                            CssPostfix="Office2010Blue" Spacing="0" SpriteCssFilePath="~/App_Themes/Office2010Blue/{0}/sprite.css"
                                            Width="200px">
                                            <LoadingPanelImage Url="~/App_Themes/Office2010Blue/Editors/Loading.gif">
                                            </LoadingPanelImage>
                                            <LoadingPanelStyle ImageSpacing="5px">
                                            </LoadingPanelStyle>
                                            <Paddings Padding="5px" />
                                        </dx:ASPxComboBox>
                                    </td>
                                </tr>
                            </table>
                        </dx:ContentControl>
                    </ContentCollection>
                </dx:TabPage>
                <dx:TabPage Text="Emp.Beneficiado">
                    <ContentCollection>
                        <dx:ContentControl runat="server" SupportsDisabledAttribute="True">
                            <dx:ASPxGridView ID="grdOrganizacion" runat="server" 
                                AutoGenerateColumns="False" CssFilePath="~/App_Themes/Office2010Blue/{0}/styles.css"
                                CssPostfix="Office2010Blue" KeyFieldName="ID_ORG_VTA" 
                                OnAfterPerformCallback="grdOrganizacion_AfterPerformCallback" 
                                OnPageIndexChanged="grdOrganizacion_PageIndexChanged">
                                <Columns>
                                    <dx:GridViewCommandColumn ShowInCustomizationForm="True" ShowSelectCheckbox="True"
                                        VisibleIndex="0">
                                    </dx:GridViewCommandColumn>
                                    <dx:GridViewDataTextColumn Caption="Código" ShowInCustomizationForm="True" 
                                        VisibleIndex="2" FieldName="COD_ORG_VTA">
                                    </dx:GridViewDataTextColumn>
                                    <dx:GridViewDataTextColumn Caption="Organización" ShowInCustomizationForm="True"
                                        VisibleIndex="3" FieldName="DES_ORG_VTA">
                                    </dx:GridViewDataTextColumn>
                                    <dx:GridViewDataTextColumn Caption="ID" ShowInCustomizationForm="True" Visible="False"
                                        VisibleIndex="1" FieldName="ID_ORG_VTA">
                                    </dx:GridViewDataTextColumn>
                                </Columns>
                                <SettingsBehavior AllowSort="False" />
                                <Paddings Padding="5px" />
                                <Images SpriteCssFilePath="~/App_Themes/Office2010Blue/{0}/sprite.css">
                                    <LoadingPanelOnStatusBar Url="~/App_Themes/Office2010Blue/GridView/Loading.gif">
                                    </LoadingPanelOnStatusBar>
                                    <LoadingPanel Url="~/App_Themes/Office2010Blue/GridView/Loading.gif">
                                    </LoadingPanel>
                                </Images>
                                <ImagesFilterControl>
                                    <LoadingPanel Url="~/App_Themes/Office2010Blue/GridView/Loading.gif">
                                    </LoadingPanel>
                                </ImagesFilterControl>
                                <Styles CssFilePath="~/App_Themes/Office2010Blue/{0}/styles.css" CssPostfix="Office2010Blue">
                                    <Header ImageSpacing="5px" SortingImageSpacing="5px">
                                    </Header>
                                    <LoadingPanel ImageSpacing="5px">
                                    </LoadingPanel>
                                </Styles>
                                <StylesPager>
                                    <PageNumber ForeColor="#3E4846">
                                    </PageNumber>
                                    <Summary ForeColor="#1E395B">
                                    </Summary>
                                </StylesPager>
                                <StylesEditors ButtonEditCellSpacing="0">
                                    <ProgressBar Height="21px">
                                    </ProgressBar>
                                </StylesEditors>
                            </dx:ASPxGridView>
                        </dx:ContentControl>
                    </ContentCollection>
                </dx:TabPage>
            </TabPages>
            <LoadingPanelImage Url="~/App_Themes/Office2010Blue/Web/Loading.gif">
            </LoadingPanelImage>
            <LoadingPanelStyle ImageSpacing="5px">
            </LoadingPanelStyle>
            <Paddings Padding="2px" PaddingLeft="5px" PaddingRight="5px" />
            <ContentStyle>
                <Paddings Padding="12px" />
                <Border BorderColor="#859EBF" BorderStyle="Solid" BorderWidth="1px" />
            </ContentStyle>
        </dx:ASPxPageControl>
        





        <div>
        
        
        <dx:ASPxPopupControl ID="pcClientes" runat="server" AllowDragging="True" 
        CloseAction="CloseButton" 
        CssFilePath="~/App_Themes/Office2010Blue/{0}/styles.css" 
        CssPostfix="Office2010Blue" EnableHotTrack="False" HeaderText="Buscar Clientes" 
        Modal="True" PopupHorizontalAlign="WindowCenter" 
        PopupVerticalAlign="WindowCenter" 
        SpriteCssFilePath="~/App_Themes/Office2010Blue/{0}/sprite.css" Width="500px" 
                ClientInstanceName="pcClientes">
        <HeaderImage Url="~/Images/user.png">
        </HeaderImage>
        <LoadingPanelImage Url="~/App_Themes/Office2010Blue/Web/Loading.gif">
        </LoadingPanelImage>
        <HeaderStyle>
        <Paddings PaddingLeft="7px" />
        </HeaderStyle>
        <LoadingPanelStyle ImageSpacing="5px">
        </LoadingPanelStyle>
        <ContentCollection>
<dx:PopupControlContentControl runat="server" SupportsDisabledAttribute="True">
    <table width="100%">
        <tr>
            <td style="width: 64px">
                <asp:Label ID="Label13" runat="server" Text="Nombre:"></asp:Label>
            </td>
            <td style="width: 205px">
                <dx:ASPxTextBox ID="txtBuscarNombre" runat="server" 
                    CssFilePath="~/App_Themes/Office2010Blue/{0}/styles.css" 
                    CssPostfix="Office2010Blue" Height="25px" MaxLength="100" 
                    SpriteCssFilePath="~/App_Themes/Office2010Blue/{0}/sprite.css" Width="200px">
                    <Paddings PaddingLeft="5px" />
                </dx:ASPxTextBox>
            </td>
            <td>
                <asp:Label ID="Label14" runat="server" Text="RUC:"></asp:Label>
            </td>
            <td>
                <dx:ASPxTextBox ID="txtBuscarRUC" runat="server" 
                    CssFilePath="~/App_Themes/Office2010Blue/{0}/styles.css" 
                    CssPostfix="Office2010Blue" Height="25px" MaxLength="11" 
                    SpriteCssFilePath="~/App_Themes/Office2010Blue/{0}/sprite.css" Width="100px">
                    <Paddings PaddingLeft="5px" />
                </dx:ASPxTextBox>
            </td>
            <td>
                &nbsp;</td>
            <td>
                <dx:ASPxButton ID="btnBuscar" runat="server" 
                    CssFilePath="~/App_Themes/Office2010Blue/{0}/styles.css" 
                    CssPostfix="Office2010Blue" OnClick="btnBuscar_Click" 
                    SpriteCssFilePath="~/App_Themes/Office2010Blue/{0}/sprite.css" Text="Buscar" 
                    Width="100px">
                    <Image Url="~/Images/search.png">
                    </Image>
                </dx:ASPxButton>
            </td>
        </tr>
        <tr>
            <td style="width: 64px">
                &nbsp;</td>
            <td style="width: 205px">
                &nbsp;</td>
            <td>
                &nbsp;</td>
            <td>
                &nbsp;</td>
            <td>
                &nbsp;</td>
            <td>
                &nbsp;</td>
        </tr>
    </table>
    <dx:ASPxGridView ID="gvBusqueda" runat="server" AutoGenerateColumns="False" 
        CssFilePath="~/App_Themes/Office2010Blue/{0}/styles.css" 
        CssPostfix="Office2010Blue" KeyFieldName="ID_CLIENTE" 
        OnPageIndexChanged="gvBusqueda_PageIndexChanged" Width="100%" 
        OnAfterPerformCallback="gvBusqueda_AfterPerformCallback">
        <Columns>
            <dx:GridViewDataTextColumn Caption="Razón Social" FieldName="DES_CLIENTE" 
                ShowInCustomizationForm="True" VisibleIndex="1">
            </dx:GridViewDataTextColumn>
            <dx:GridViewDataTextColumn Caption="RUC" FieldName="NIF" 
                ShowInCustomizationForm="True" VisibleIndex="2" Width="70px">
            </dx:GridViewDataTextColumn>
            <dx:GridViewDataTextColumn FieldName="DES_DIRECCION" 
                ShowInCustomizationForm="True" Visible="False" VisibleIndex="3">
            </dx:GridViewDataTextColumn>
            <dx:GridViewDataTextColumn FieldName="Departamento" 
                ShowInCustomizationForm="True" Visible="False" VisibleIndex="4">
            </dx:GridViewDataTextColumn>
            <dx:GridViewDataTextColumn FieldName="Provincia" ShowInCustomizationForm="True" 
                Visible="False" VisibleIndex="5">
            </dx:GridViewDataTextColumn>
            <dx:GridViewDataTextColumn FieldName="Distrito" ShowInCustomizationForm="True" 
                Visible="False" VisibleIndex="6">
            </dx:GridViewDataTextColumn>
            <dx:GridViewDataTextColumn FieldName="ID_CLIENTE" 
                ShowInCustomizationForm="True" Visible="False" VisibleIndex="7">
            </dx:GridViewDataTextColumn>
            <dx:GridViewDataTextColumn FieldName="COD_CLIENTE" 
                ShowInCustomizationForm="True" Visible="true" VisibleIndex="0" 
                Caption="Código">
            </dx:GridViewDataTextColumn>
        </Columns>
        <SettingsBehavior AllowClientEventsOnLoad="False" AllowDragDrop="False" 
            AllowGroup="False" AllowFocusedRow="True" />
        <Settings ShowGroupButtons="False" ShowHeaderFilterBlankItems="False" />
        <Images SpriteCssFilePath="~/App_Themes/Office2010Blue/{0}/sprite.css">
            <LoadingPanelOnStatusBar Url="~/App_Themes/Office2010Blue/GridView/Loading.gif">
            </LoadingPanelOnStatusBar>
            <LoadingPanel Url="~/App_Themes/Office2010Blue/GridView/Loading.gif">
            </LoadingPanel>
        </Images>
        <ImagesFilterControl>
            <LoadingPanel Url="~/App_Themes/Office2010Blue/GridView/Loading.gif">
            </LoadingPanel>
        </ImagesFilterControl>
        <Styles CssFilePath="~/App_Themes/Office2010Blue/{0}/styles.css" 
            CssPostfix="Office2010Blue">
            <Header ImageSpacing="5px" SortingImageSpacing="5px">
            </Header>
            <LoadingPanel ImageSpacing="5px">
            </LoadingPanel>
        </Styles>
        <StylesPager>
            <PageNumber ForeColor="#3E4846">
            </PageNumber>
            <Summary ForeColor="#1E395B">
            </Summary>
        </StylesPager>
        <StylesEditors ButtonEditCellSpacing="0">
            <ProgressBar Height="21px">
            </ProgressBar>
        </StylesEditors>
    </dx:ASPxGridView>
    <table border="0" cellpadding="0" cellspacing="0" width="100%">
        <tr>
            <td style="width: 25px">
                &nbsp;</td>
            <td class="formato-tabla-td" style="width: 65px">
                &nbsp;</td>
            <td>
                &nbsp;</td>
            <td align="right" height="2">
                &nbsp;</td>
        </tr>
        <tr>
            <td style="width: 25px">
                <asp:Label ID="Label15" runat="server" Text="Ver "></asp:Label>
            </td>
            <td class="formato-tabla-td" style="width: 65px">
                <dx:ASPxComboBox ID="cboOpcion" runat="server" AllowMouseWheel="False" 
                    CssFilePath="~/App_Themes/Office2010Blue/{0}/styles.css" 
                    CssPostfix="Office2010Blue" EnableAnimation="False" 
                    EnableDefaultAppearance="False" Height="25px" SelectedIndex="0" 
                    ShowLoadingPanel="False" ShowLoadingPanelImage="False" ShowShadow="False" 
                    Spacing="0" SpriteCssFilePath="~/App_Themes/Office2010Blue/{0}/sprite.css" 
                    Width="60px">
                    <Items>
                        <dx:ListEditItem Selected="True" Text="100" Value="100" />
                        <dx:ListEditItem Text="200" Value="200" />
                        <dx:ListEditItem Text="500" Value="500" />
                        <dx:ListEditItem Text="1000" Value="1000" />
                    </Items>
                    <LoadingPanelImage Url="~/App_Themes/Office2010Blue/Editors/Loading.gif">
                    </LoadingPanelImage>
                    <LoadingPanelStyle ImageSpacing="5px">
                    </LoadingPanelStyle>
                    <ButtonStyle Width="13px">
                    </ButtonStyle>
                    <Paddings PaddingLeft="5px" />
                    <ValidationSettings>
                        <RegularExpression ErrorText="Falló la validación de expresión Regular" />
                    </ValidationSettings>
                </dx:ASPxComboBox>
            </td>
            <td>
                <asp:Label ID="Label16" runat="server" Text="registros."></asp:Label>
            </td>
            <td align="right">
                <dx:ASPxButton ID="btnAgregarRazonesSociales" runat="server" 
                    CssFilePath="~/App_Themes/Office2010Blue/{0}/styles.css" 
                    CssPostfix="Office2010Blue" 
                    SpriteCssFilePath="~/App_Themes/Office2010Blue/{0}/sprite.css" Text="Aceptar" 
                    Width="100px" OnClick="btnAgregarRazonesSociales_Click">
                    <Image Url="~/Images/busqueda-show.png">
                    </Image>
                </dx:ASPxButton>
            </td>
        </tr>
    </table>
            </dx:PopupControlContentControl>
</ContentCollection>
    </dx:ASPxPopupControl>





        
        
        </div>
        <div>
        
        
        <dx:aspxpopupcontrol ID="popupErrores" runat="server" AllowDragging="True" 
                    ClientInstanceName="popupErrores" CloseAction="CloseButton" 
                    CssFilePath="~/App_Themes/Office2010Blue/{0}/styles.css" CssPostfix="Office2010Blue" 
                    EnableViewState="False" HeaderText="Mensaje" Modal="True" 
                    PopupHorizontalAlign="WindowCenter" PopupVerticalAlign="WindowCenter" 
                    SpriteCssFilePath="~/App_Themes/Office2010Blue/{0}/sprite.css" 
              Width="300px" EnableHotTrack="False">
                
                    <HeaderImage Url="~/Images/icon_message.png">
                    </HeaderImage>
                
                    <LoadingPanelImage Url="~/App_Themes/Office2010Blue/Web/Loading.gif">
                    </LoadingPanelImage>
                    <HeaderStyle>
                    <Paddings PaddingLeft="7px" />
                    </HeaderStyle>
                
                    <LoadingPanelStyle ImageSpacing="5px">
                    </LoadingPanelStyle>
                
                 <ContentCollection>
<dx:popupcontrolcontentcontrol ID="PopupControlContentControl3" runat="server" 
                         SupportsDisabledAttribute="True">

    <br />
      <dx:aspxpanel ID="ASPxPanel4" runat="server" DefaultButton="btCreate">
                    <PanelCollection>
                        <dx:panelcontent ID="PanelContent3" runat="server">
                        <table width="100%">
                        <tr>
                        <td align="center" valign="middle">
                        
                        
                        
                            <asp:Label ID="lblMensaje" runat="server"></asp:Label>
                            <br /> &nbsp;</td>
                        
                        </tr>
                        <tr>
                        <td align="center">
                        
                            &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;
                        
                            <dx:aspxbutton ID="ASPxButton6" runat="server" AutoPostBack="False" 
                                CssFilePath="~/App_Themes/Office2010Blue/{0}/styles.css" 
                                CssPostfix="Office2010Blue" 
                                SpriteCssFilePath="~/App_Themes/Office2010Blue/{0}/sprite.css" Text="Aceptar" 
                                Width="10px">
                                <ClientSideEvents Click="function(s, e) {
	popupErrores.Hide();
}" />
                                <Image Url="~/Images/ok.png">
                                </Image>
                            </dx:aspxbutton>
                        
                        </td>
                        
                        </tr>
                        
                        
                        </table>




                 </dx:panelcontent>
    </PanelCollection>
   </dx:aspxpanel>
   </dx:popupcontrolcontentcontrol>
</ContentCollection>
                </dx:aspxpopupcontrol>
        
        
        </div>

    </div>
</asp:Content>
